package com.gamehall.core;

import com.gamehall.cmd.UserCommand.RoomTypeCmd;
import com.gamehall.entity.model.RoomConfig;

public class KaiBaoRoom extends BaseRoom{

	public KaiBaoRoom(RoomConfig config) {
		super(config);
	}

	@Override
	protected RoomTypeCmd getGameType() {
		
		return RoomTypeCmd.KaiBao;
	}

	@Override
	protected BaseTable newInstanceTable() {
		TableConfig tc = new TableConfig();
		tc.setBetList(config.getBetList());
		tc.setRoomNum(100);
		tc.setRoomType(2);
		return new KaiBaoTable(tc);
	}

}
